package exemplos.exemplo01;

import javax.ejb.Stateless;

@Stateless
public class ConverterBean {
	public static final double IENE_TO_DOLAR = 0.01;
	public static final double EURO_TO_IENE = 138.21;
	
	public double ieneToDolar (double valor) {
		return valor * ConverterBean.IENE_TO_DOLAR;
	}
	
	public double euroToIene(double valor) {
		return valor * ConverterBean.EURO_TO_IENE;
	}
}
